package com.dib.neo.bkfs.config;

import java.util.Properties;

public class Properties2 extends Properties {
  @Override
  public String getProperty(String key) {
    String value = super.getProperty(key);
    if(value!=null){
      value = PropertiesHelper.helper.relace(value,this);
    }
    return value;
  }

  @Override
  public String getProperty(String key, String defaultValue) {
    String value = super.getProperty(key, defaultValue);
    if(value!=null){
      value = PropertiesHelper.helper.relace(value,this);
    }
    return value;
  }
}
